package mips.instruction;

import mips.Reg;
import mips.element.Instruction;

public class MTHI extends Instruction {
    private Reg rd;

    public MTHI(Reg rd) {
        this.rd = rd;
    }

    public Reg getRd() {
        return rd;
    }

    public String toString() {
        return "mthi\t" + rd;
    }
}
